/*
 * Copyright (c) 2017, Li Bo/Alex Lee All rights reserved.
 * 
 * http://www.libo4dream.club/
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
 
package com.hyts.fscan.filter;

import org.apache.commons.io.filefilter.IOFileFilter;

import java.io.File;

/**
 * @ClassName: ScanFileFilter
 * @Description: 此文件服务过滤器，采用了代理和委托模式，
 * 				   扩展了原有的fileNameFilter以及FileFilter接口类
 * 				   方便可以针对于文件夹也进行对应的过滤
 * @author: LiBo/Alex Lee
 * @date: 2017年9月27日 上午1:19:36
 * @email: alexlibochn@china-pui.com.cn/alex.link@foxmail.com
 */
public class ScanFileFilter implements IOFileFilter {

	
	/* (non Javadoc)
	 * @Title: accept
	 * @Description: 过滤操作
	 * @param file
	 * @return
	 * @see org.apache.commons.io.filefilter.IOFileFilter#accept(java.io.File)
	 */
	@Override
	public boolean accept(File file) {
		return false;
	}

	/* (non Javadoc)
	 * @Title: accept
	 * @Description: 过滤操作过滤名称以及过滤目录操作
	 * @param dir
	 * @param name
	 * @return
	 * @see org.apache.commons.io.filefilter.IOFileFilter#accept(java.io.File, java.lang.String)
	 */
	@Override
	public boolean accept(File dir, String name) {
		return false;
	}

}
